package com.blog.common;

import com.blog.model.LinkModel;

import java.util.ArrayList;
import java.util.List;

/**
 * @author jiafujun
 * 2020-06-19 16:28:54
 **/
public class CacheData {

    private static List<LinkModel> linkData = new ArrayList<>();

    public static List<LinkModel> getLinkData() {
        return linkData;
    }

    public static void setLinkData(LinkModel model) {
        CacheData.linkData.add(model);
    }
}
